package com.group3.pojo.receive;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.group3.domain.File;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @ClassName ChangeWorkRecive
 * @Author jt-sinlio
 * @Time 2021/7/6 15:55
 **/
@Data
public class ChangeWorkReceive {
    @ApiModelProperty(value = "作业id", required = true)
    private Integer workId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "提交时间",required = true)
    private Date releaseTime;

    @ApiModelProperty(value = "作业主题",required = true)
    private String workTheme;

    @ApiModelProperty(value = "作业内容",required = true)
    private String workContent;

    @ApiModelProperty(value = "做作业的人",required = true)
    private List<Integer> students;

    @ApiModelProperty(value = "附件列表",required = true)
    private List<File> files;
}
